﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PartyFinderMP.master" AutoEventWireup="true" CodeFile="PartySite.aspx.cs" Inherits="Index_PartySite" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="MyPartysite_Header">
        <h1>
            <asp:Label ID="SiteHeader" runat="server" Text="Party navn"></asp:Label>
        </h1>
    </div>
    <div id="MyPartysite_description">
        <table>
            <tr>
                <td class="fixed">
                    <h3>Information</h3>
                </td>
                <td class="fixed2">
                    <h3>Muligheder</h3>
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td class="fixed">
                    <table class="table">
                        <tr>
                            <td style="width: 300px">
                                <asp:Label ID="LabDate" runat="server" Text="25-07-2012"></asp:Label>
                            </td>
                            <td style="width: 180px">
                                <asp:Label ID="LabTime" runat="server" Text="20:00"></asp:Label>
                            </td>
                        </tr>
                    </table>
                    <h4>Medbring</h4>
                    <table class="table">
                        <tr>
                            <td style="width: 300px">Drikkevarer:
                                <asp:Label ID="LabDrink" runat="server" Text="ja"></asp:Label>
                            </td>
                            <td style="width: 180px">Mad:
                                <asp:Label ID="LabFood" runat="server" Text="ja"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>Andet:
                                <asp:Label ID="LabComment" runat="server" Text="Husk godt humør!"></asp:Label>
                            </td>
                            <td></td>
                        </tr>
                    </table>
                </td>
                <td>
                    <div>
                        <table>
                            <tr>
                                <td style="vertical-align: top">
                                    <asp:Button ID="BtBack" runat="server" CssClass="btn" Width="240px" Text="Tilbage" OnClick="BtBack_Click" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Button CssClass="btn" ID="BtnRequestParticipation" Width="240px" runat="server" Text="Ansøg om deltagelse" OnClick="BtnRequestParticipation_Click" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Button CssClass="btn" ID="BtnChat" Width="240px" runat="server" Text="Chat med festafholder" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="RequestStatus" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </div>

                </td>
            </tr>
        </table>

    </div>
    <div id="MyPartysite_ParticipatingPeople">
        <h3>Deltagere</h3>
        <asp:ListView ID="LWParticipatingPeople" runat="server" GroupItemCount="5">
            <LayoutTemplate>
                <table>
                    <asp:PlaceHolder runat="server" ID="groupPlaceHolder" />
                </table>
            </LayoutTemplate>
            <GroupTemplate>
                <tr>
                    <asp:PlaceHolder runat="server" ID="itemPlaceHolder" />
                </tr>

            </GroupTemplate>
            <ItemTemplate>
                <td align="center">
                    <a href="">
                        <div id="MyPartysite_PersonBox">
                            <img src="/images/ProfilePhotos/<%#Eval("PictureDir") %>" />
                            <asp:Label ID="LabName" runat="server" Text='<%#Eval("Name") %>'></asp:Label>
                            <%#Eval("LastName") %>
                        </div>
                    </a>
                </td>
            </ItemTemplate>
        </asp:ListView>
    </div>
</asp:Content>

